package system;

import java.io.Serializable;

/**
 * Wrapper class for the storing the result produced by Reduce function.
 *  
 * @author Mayuri Karra, Bing Wei
 *
 */

public class ReducerResult implements Serializable{
	private static final long serialVersionUID = 1L;
	Object key3;
	Object value3;

	public ReducerResult(Object key3, Object value3) {
		super();
		this.key3 = key3;
		this.value3 = value3;
	}

	/**
	 * getter function for the key
	 * @return the String version of key
	 */
	public String getKey(){
		return key3.toString();
	}

	/**
	 * getter function for the value
	 * @return the String version of value
	 */

	public String getValue(){
		return value3.toString();
	}
	
}
